package designPattern.creation.builderpattern.demo;

/**
 * @author 张琪
 * @date 2023/1/29 16:22
 */
public class Client {
    public static void main(String[] args) {
        System.out.println("有一个人前来买套餐a");
        KFCWaiter kfcWaiter = new KFCWaiter();
        kfcWaiter.setMealBuilder(new MealA());

        Meal construct = kfcWaiter.construct();
        System.out.println("套餐A: " + construct);
    }
}
